package com.gp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 六个核桃
 * @since 2022-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class MaintainCar implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("carName")
    private String carname;

    /**
     * 类型
     */
    private Integer type;

    private Integer brandId;

    private Integer configId;

    /**
     * 简介
     */
    private String intro;

    /**
     * 车辆识别码
     */
    private String vin;

    private Double buyPrice;

    /**
     * 门店编号
     */
    private Integer shopId;

    /**
     * 车辆状态(可租1，维修中2，租出3，删除4)
     */
    private Integer state;

    /**
     * 价钱
     */
    private Double price;


}
